<template>
  <div id="time">
    <el-timeline>
      <el-timeline-item
        v-for="(activity, index) in locationList"
        :key="index"
        color="rgba(64, 158, 255, 1)"
        :timestamp="activity.time"
      >{{activity.context}}</el-timeline-item>
    </el-timeline>
  </div>
</template>

<script>
export default {
  props: {
    locationList: Array,
  },
}
</script>

<style lang="scss" scoped>
// // timerLine样式
// @import '@/plugins/timeline/timeline.scss';
// @import '@/plugins/timeline-item/timeline-item.scss';
</style>